cmake_minimum_required(VERSION 3.6)
project(faac VERSION 1.0.0 LANGUAGES C)
include_directories(include . src/kiss_fft)
add_definitions(-DHAVE_CONFIG_H)
set(SRCS src/bitstream.c src/fft.c src/frame.c src/blockswitch.c src/util.c src/channels.c src/filtbank.c src/tns.c src/quantize.c src/huff2.c src/huffdata.c src/stereo.c)
add_library(faac SHARED ${SRCS})
target_include_directories(faac PUBLIC include)
target_link_libraries(faac log m)
